package com.axzhengxin.platform.business.mapper;

import com.axzhengxin.platform.business.domain.BizApplyInfo;
import com.axzhengxin.platform.business.domain.BizApplyWarrantRelative;

import java.util.List;

/**
 * 需求在线担保关联Mapper接口
 * 
 * @author axzhengxin
 * @date 2021-03-08
 */
public interface BizApplyWarrantRelativeMapper 
{
    /**
     * 查询需求在线担保关联
     * 
     * @param applyId 需求在线担保关联ID
     * @return 需求在线担保关联
     */
    public BizApplyWarrantRelative selectBizApplyWarrantRelativeById(String applyId);

    /**
     * 查询需求在线担保关联列表
     * 
     * @param bizApplyWarrantRelative 需求在线担保关联
     * @return 需求在线担保关联集合
     */
    public List<BizApplyWarrantRelative> selectBizApplyWarrantRelativeList(BizApplyWarrantRelative bizApplyWarrantRelative);

    /**
     * 新增需求在线担保关联
     * 
     * @param bizApplyWarrantRelative 需求在线担保关联
     * @return 结果
     */
    public int insertBizApplyWarrantRelative(BizApplyWarrantRelative bizApplyWarrantRelative);

    /**
     * 修改需求在线担保关联
     * 
     * @param bizApplyWarrantRelative 需求在线担保关联
     * @return 结果
     */
    public int updateBizApplyWarrantRelative(BizApplyWarrantRelative bizApplyWarrantRelative);

    /**
     * 删除需求在线担保关联
     * 
     * @param applyId 需求在线担保关联ID
     * @return 结果
     */
    public int deleteBizApplyWarrantRelativeById(String applyId);

    /**
     * 批量删除需求在线担保关联
     * 
     * @param applyIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteBizApplyWarrantRelativeByIds(String[] applyIds);

    /**
     * 根据ReqId获取担保详情
     * @param searchApply
     * @return
     */
    List<BizApplyWarrantRelative> selectBizApplyWarrantRelativeByReqId(BizApplyInfo searchApply);
}
